<div id="category_rss_list_block">
	<?php
	echo '<ul>';
	$oddEven = 'odd';
	if ($categories->num_rows() > 0)
	{
		foreach ($categories->result() as $row)
		{
			$feed_url = strtolower($this->config->item('base_url') . '/category/'. $row->slug_parent_category_name. (empty($row->slug_parent_category_name) ? '' : '/'). $row->slug_category_name. '/feed.rss');
			echo '<li class="category_rss ' . $oddEven . '" ><div class="categoryName">', $row->category_name, " ($row->product_count)",'</div>';
			echo '<div class="share"> <a target="_new" href="',$feed_url,'" >XML</a>';
			echo ' | <a target="_new" href="http://fusion.google.com/add?feedurl=',$feed_url,'">Add To Google</a>';
			echo ' | <a target="_new" href="http://add.my.yahoo.com/rss?url=',$feed_url,'">Add To Yahoo</a>';	
			echo ' | <a target="_new" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=',$feed_url,'">Add To Newsgator</a>';
			echo ' | <a target="_new" href="http://www.bloglines.com/sub/',$feed_url,'">Add to Sub Bloglines</a>';	
			echo ' | <a target="_new" href="http://my.msn.com/addtomymsn.armx?id=rss&amp;ut=',$feed_url,'">Add To MyMSN</a>';			
			echo ' | <a target="_new" href="http://feeds.my.aol.com/add.jsp?url=',$feed_url,'">Add To My AOL</a></div>';
			echo '</li>';
			
			$oddEven = $oddEven == 'odd' ? 'even' : 'odd';
		}
	}
	echo '</ul>';
	?>
	<div class="cb"></div>
</div>
